﻿<Window x:Class="ParsecClient.ShareFightWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ShareFight" WindowStyle="None" Background="Transparent" AllowsTransparency="True" ResizeMode="NoResize" Loaded="Window_Loaded"  WindowStartupLocation="CenterOwner" Width="460" ShowInTaskbar="False" SizeToContent="Height" Closing="Window_Closing">
    <Border CornerRadius="3" BorderBrush="#FF444444" BorderThickness="1" Margin="15">
        <DockPanel Margin="10" LastChildFill="False">
            <StackPanel DockPanel.Dock="Top">
                <TextBlock FontSize="18" FontWeight="Normal" Foreground="Black">Share this Fight</TextBlock>
                <TextBlock VerticalAlignment="Center" Padding="0,0,10,0" Margin="10 20 0 0" FontSize="14" Foreground="Black">Parsec Website User Account - <Hyperlink NavigateUri="http://www.parsec.com/signup.aspx" RequestNavigate="SignUpHandler" FontSize="11">Sign Up</Hyperlink></TextBlock>
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="10 4 0 0">
                    <TextBlock VerticalAlignment="Center" Padding="0,0,10,0" Foreground="Black">User Name</TextBlock>
                    <TextBox Name="txtUserName" Width="100" MaxLength="50" Style="{StaticResource PlainTextBox}"></TextBox>
                    <TextBlock VerticalAlignment="Center" Padding="10,0" Foreground="Black">Password</TextBlock>
                    <PasswordBox Name="txtPassword" Width="100" MaxLength="50" Style="{StaticResource PlainPasswordBox}"></PasswordBox>
                </StackPanel>
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="10 4 0 0">
                    <CheckBox Name="chkSaveIt" Style="{StaticResource PlainCheckBox}">Save User Name and Password</CheckBox>
                </StackPanel>
                <TextBlock VerticalAlignment="Center" Padding="0,0,10,0" Margin="10 20 0 0" FontSize="14" Foreground="Black">Associate this fight with a Raid Group (optional)</TextBlock>
                <ComboBox Name="ddlGroups" Margin="10 4 0 0" Width="300" HorizontalAlignment="Left"></ComboBox>
                <StackPanel Orientation="Horizontal" Margin="10 20 0 20">
                    <Grid Margin="0 0 0 0">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                            <RowDefinition Height="Auto"></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="120"></ColumnDefinition>
                            <ColumnDefinition Width="230"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <Label Grid.Row="0" Grid.Column="0" Padding="5,1,1,1" Foreground="Black">Character Name</Label>
                        <Label Grid.Row="1" Grid.Column="0" Padding="5,1,1,1" Foreground="Black">Encounter Name</Label>
                        <Label Grid.Row="2" Grid.Column="0" Visibility="Collapsed" Name="lblDifficulty" Padding="5,1,1,1" Foreground="Black">Difficulty Mode</Label>
                        <Label Grid.Row="3" Grid.Column="0" Visibility="Collapsed" Name="lblPlayers" Padding="5,1,1,1" Foreground="Black">Player Mode</Label>
                        <Label Grid.Row="4" Grid.Column="0" Padding="5,1,1,1" Foreground="Black">Length</Label>
                        <Label Grid.Row="5" Grid.Column="0" Padding="5,1,1,1" Foreground="Black">Damage Dealt</Label>
                        <Label Grid.Row="6" Grid.Column="0" Padding="5,1,1,1" Foreground="Black">Healing Done</Label>
                        <Label Grid.Row="7" Grid.Column="0" Padding="5,1,1,1" Foreground="Black">Damage Taken</Label>
                        <TextBlock Grid.Row="0" Grid.Column="1" Name="lblCharacterName" VerticalAlignment="Center" FontWeight="Bold" TextWrapping="Wrap" Foreground="Black"></TextBlock>
                        <TextBlock Grid.Row="1" Grid.Column="1" Name="lblEncounterName" VerticalAlignment="Center" FontWeight="Bold" TextWrapping="Wrap" Foreground="Black"></TextBlock>
                        <ComboBox Grid.Row="2" Grid.Column="1" Visibility="Collapsed" Name="ddlDifficulty" Margin="0 2 0 2">
                            <ComboBoxItem IsSelected="true" Tag="0">Unknown</ComboBoxItem>
                            <ComboBoxItem Tag="1">Story Mode</ComboBoxItem>
                            <ComboBoxItem Tag="2">Hard Mode</ComboBoxItem>
                            <ComboBoxItem Tag="3">Nightmare mode</ComboBoxItem>
                        </ComboBox>
                        <ComboBox Grid.Row="3" Grid.Column="1" Visibility="Collapsed" Name="ddlPlayerMode" Margin="0 2 0 2">
                            <ComboBoxItem IsSelected="true" Tag="0">Unknown</ComboBoxItem>
                            <ComboBoxItem Tag="1">Eight Players</ComboBoxItem>
                            <ComboBoxItem Tag="2">Sixteen Players</ComboBoxItem>
                        </ComboBox>
                        <TextBlock Grid.Row="4" Grid.Column="1" Name="lblLength" VerticalAlignment="Center" FontWeight="Bold" Foreground="Black"></TextBlock>
                        <TextBlock Grid.Row="5" Grid.Column="1" Name="lblDmgDealt" VerticalAlignment="Center" FontWeight="Bold" Foreground="Black"></TextBlock>
                        <TextBlock Grid.Row="6" Grid.Column="1" Name="lblHealDone" VerticalAlignment="Center" FontWeight="Bold" Foreground="Black"></TextBlock>
                        <TextBlock Grid.Row="7" Grid.Column="1" Name="lblDmgTaken" VerticalAlignment="Center" FontWeight="Bold" Foreground="Black"></TextBlock>
                    </Grid>
                </StackPanel>
            </StackPanel>
            <DockPanel DockPanel.Dock="Bottom">
                <Button DockPanel.Dock="Right" Name="btnCancel" Padding="2" Width="60" Margin="8 0 0 0" Click="btnCancel_Click" Style="{StaticResource PlainButton}">Cancel</Button>
                <Button DockPanel.Dock="Right" Name="btnShare" Padding="2" Width="60" Margin="8 0 0 0"  Click="btnShare_Click" Style="{StaticResource PlainButton}">Share</Button>
                <ProgressBar DockPanel.Dock="Left" Width="Auto" HorizontalAlignment="Stretch" Maximum="100" Minimum="0" Name="UploadProgress" SnapsToDevicePixels="True" Visibility="Hidden" Style="{StaticResource CustomProgressBar}"></ProgressBar>
            </DockPanel>
        </DockPanel>
        <Border.Effect>
            <DropShadowEffect BlurRadius="15" ShadowDepth="0" Opacity=".8" />
        </Border.Effect>
        <Border.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FFF2F2F2" Offset="0" />
                <GradientStop Color="White" Offset="1" />
            </LinearGradientBrush>
        </Border.Background>
    </Border>
</Window>
